package com.ljx.recruitment.interview.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.recruitment.common.domain.vo.resp.PageResp;
import com.ljx.recruitment.interview.domain.dto.ResumeItmDto;
import com.ljx.recruitment.interview.domain.entity.ResumeItem;
import com.ljx.recruitment.interview.domain.vo.req.ResumeSubmitReq;
import com.ljx.recruitment.interview.domain.vo.req.ResumePageReq;
import com.ljx.recruitment.interview.domain.vo.resp.ResumeResp;
import com.ljx.recruitment.user.typehandler.details.ResumeDetails;

import java.util.List;

public interface ResumeService extends IService<ResumeItem> {
    List<ResumeItmDto> init();

    List<ResumeItmDto> refresh();

    ResumeResp submit(ResumeSubmitReq req);

    PageResp<ResumeResp> getPage(ResumePageReq req);

    ResumeResp getInfo(Long resumeItemId);

    Object getValueByCode(ResumeDetails resumeDetails, String key);

    Boolean checkRecommend(ResumeDetails resumeDetails);

    void checkResumeParams(ResumeDetails resumeDetails);
}
